<?

// Config file
$folder = dirname(__FILE__);
include_once($folder.'/config.inc.php');


// System required classes
require($folder.'/class/core.class.php');
require($folder.'/class/ez_sql.class.php');
require($folder.'/class/session.class.php');
require($folder.'/class/extends.class.php');
require($folder.'/class/helpers.class.php');
require($folder.'/class/load.class.php');

// MVC
include_once($folder.'/class/model.class.php');
include_once($folder.'/class/view.class.php');
include_once($folder.'/class/controller.class.php');


// Optional
include_once($folder.'/class/user.class.php');

// User-defined


// Start session
$session = Session::getInstance();
$_user = $session->getAll();

?>
